namespace WCFThree.Entity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;
    using System.Runtime.Serialization;
    [Table("score")]
    [DataContract(IsReference = true)]
    public partial class score
    {
        [Key]
        [Column(Order = 0)]
        [StringLength(3)]
        [DataMember]
        public string sno { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(5)]
        [DataMember]
        public string cno { get; set; }

        [DataMember]
        public decimal degree { get; set; }

        [DataMember]
        public virtual course course { get; set; }

        [DataMember]
        public virtual student student { get; set; }
    }
}
